//
//  KitsCategoryCell.m
//  QYer
//
//  Created by lanou on 16/8/6.
//  Copyright © 2016年 CaiZhuYu. All rights reserved.
//

#import "KitsCategoryCell.h"

@interface KitsCategoryCell ()

@property (weak, nonatomic) IBOutlet UIView *selectedIndicator;

@end


@implementation KitsCategoryCell


- (void)awakeFromNib {
    self.backgroundColor = [UIColor whiteColor];
    self.textLabel.textAlignment = NSTextAlignmentCenter;
    self.selectedIndicator.backgroundColor = [UIColor greenColor];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    self.selectedIndicator.hidden = !selected;
    self.textLabel.textColor = selected ? self.selectedIndicator.backgroundColor : [UIColor blackColor];
    // Configure the view for the selected state
}

@end
